package threadLocal;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * @author: cuiyutian1
 * @date: 2022/1/12 15:06
 * @description:
 */
public class provider {

    public static void main(String[] args) {


        Thread thread = new Thread(() -> {
            //consumer consumer = new consumer();
            for (int i = 0; i < 10; i++) {
                Holder.map.set("cyt-" + String.valueOf(i));
               // consumer.deal();
            }
        }, "thread");

        thread.start();
//        ExecutorService executorService = Executors.newFixedThreadPool(3);
//        executorService.execute(thread);
    }
}
